package cn.edu.gsau.info.service;

import cn.edu.gsau.info.models.Lunwen;
import cn.edu.gsau.info.models.Shenhe;
import cn.edu.gsau.info.models.Zhengmingcailiao;
import cn.edu.gsau.info.vo.Paramex;
import cn.edu.gsau.info.vo.Paramss;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @BelongsProject: gsau
 * @BelongsPackage: cn.edu.gsau.info.service
 * @Author: yq
 * @CreateTime: 2022-11-19
 * @Description: 论文的相关业务接口
 * @Version: 1.0
 */
public interface ILunwenService extends IService<Lunwen> {
    /**
     * @description:
     * @author: yq
     * @date: 2022-11-30
     * @param:
     * @return:
     **/
    List<Shenhe> selectShenhe(Long recoreId);

    /**
     * @description:
     * @author: yq
     * @date: 2022-11-30
     * @param: 审核记录id
     * @return: 集合
     **/
    List<Shenhe> updateShenhe(Shenhe shenhe);

    /**
     * @description:
     * @author: yq
     * @date: 2022-11-26
     * @param: 论文实体类
     * @return: 集合
     **/
    List<Lunwen> updateLunwen(Lunwen lunwen);

    /**
     * @description: 论文查询
     * @author: yq
     * @date: 2022-11-19
     * @param: id
     * @return: list集合
     **/
    List<Lunwen> selectLunwen(Long id);

    /**
     * @description: 单条论文记录的查询
     * @author: yq
     * @date: 2022-11-19
     * @param: id
     * @return: list集合
     **/
    Lunwen selectOne(long id);

    /**
     * @description: 搜索
     * @author: yq
     * @date: 2022-11-24
     * @param:
     * @return:
     **/
    List<Lunwen> search(Paramss params);

    List<Lunwen> searchExamine(Paramex paramex);

    /**
     * @description:查询相关证明材料
     * @author: yq
     * @date: 2022-11-21
     * @param: id1：模板类型id，id2：某一条记录的id
     * @return: list
     **/
    List<Zhengmingcailiao> findZhengMingCaiLiao(Long id2);

    /**
     * @description:
     * @author: yq
     * @date: 2002211-26
     * @param: lunwen实体类
     * @return: 集合
     **/
    List<Lunwen> addInfo(Lunwen lunwen);
}
